package br.com.pfc.application.controller.locais;

import br.com.pfc.application.dao.LocalDAO;
import br.com.pfc.model.Local;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;

/**
 *
 * @author Vanda
 */
@Scope(ScopeType.CONVERSATION)
@Name("localDetalhaAction")
public class LocalDetalhaController {

    @In
    LocalDAO localDAO;
    private Local local = new Local();

    public String setup(Local paramLocal) {
        local = paramLocal;
        return "detalha_local";
    }

    public Local getLocal() {
        return local;
    }

    public void setLocal(Local local) {
        this.local = local;
    }

}
